Add gtk_widget_prepend_controller
authorMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 16:47:27 +0000 (12:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 22 Jun 2020 16:47:27 +0000 (12:47 -0400)
commit692cc42e1023ec439d2fa1a0b9456e8cbfe1cec8
tree3b9d0c5fc540bcfe1e25527f9f09976862714559
parent9faaa5e8be929393edbd27d8ac38e228b3af43b8
Add gtk_widget_prepend_controller

Add a variant of gtk_widget_add_controller that
inserts the controller at the beginning, instead
of the end. This will be used in entry completion
to make sure the entry completion key event handling
supersedes the entry one while the popup is open.

Keep this private for now, until we determine if
it needs to be public api.
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h